package com.plian.system.entity.yth.dp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
/**
 * 数据采集-安全隐患排查子表实体类
 *
 * @author zke
 * @since 2023-03-14
 */
@Data
@TableName("collection_safety_hazard_list")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SafetyHazardList对象", description = "数据采集-安全隐患排查子表")
public class SafetyHazardList extends YthBaseEntity implements Serializable {

private static final long serialVersionUID = 1L;

        /**
     * 安全隐患排查id
     */
    @ApiModelProperty(value = "安全隐患排查id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long safetyHazardId;
    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Long enterpriseId;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;
    /**
     * 隐患名称或存在部位
     */
    @ApiModelProperty(value = "隐患名称或存在部位")
    private String dangerName;
    /**
     * 隐患性质
     */
    @ApiModelProperty(value = "隐患性质")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Byte dangerProperty;
    /**
     * 检查发现时间
     */
    @ApiModelProperty(value = "检查发现时间")
    private LocalDate inspectionDate;
    /**
     * 检查人员
     */
    @ApiModelProperty(value = "检查人员")
    private String inspector;
    /**
     * 整改期限
     */
    @ApiModelProperty(value = "整改期限")
    private String rectificationPeriod;
    /**
     * 整改负责人
     */
    @ApiModelProperty(value = "整改负责人")
    private String rectificationPerson;
    /**
     * 是否整改
     */
    @ApiModelProperty(value = "是否整改")
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private Byte isRectification;
    /**
     * 完成整改时间
     */
    @ApiModelProperty(value = "完成整改时间")
    private LocalDate rectificationDate;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String note;


}
